package com.freshcity.upload.ui
{
	import flash.display.Sprite;

	public class RectBox extends Sprite
	{
		public function RectBox(arg1:Number, arg2:Number, arg3:uint=11711154, arg4:Number=1)
		{
			super();
			this._w = arg1 + arg4;
			this._h = arg2 + arg4;
			this._borderColor = arg3;
			this._borderWidth = arg4;
			this.mouseEnabled = false;
			this.mouseChildren = false;
			this.init();
			return;
		}
		
		private function init():void
		{
			this.graphics.lineStyle(this._borderWidth, this._borderColor);
			this.graphics.lineTo(this._w, 0);
			this.graphics.lineTo(this._w, this._h);
			this.graphics.lineTo(0, this._h);
			this.graphics.lineTo(0, 0);
			return;
		}
		
		private var _w:Number;
		
		private var _h:Number;
		
		private var _borderColor:uint;
		
		private var _borderWidth:Number;
	}
}